<cfsetting enablecfoutputonly="true" />

<!--- @@Copyright: Daemon Pty Limited 1995-2008, http://www.daemon.com.au --->
<!--- @@displayname: Standard page body layout --->
<!--- @@Description: Standard page body display for all farBlog --->

<!--- import tag libraries --->
<cfimport taglib="/farcry/core/tags/webskin" prefix="skin" />

<cfoutput>
	<div class="article">
		
		<h2 class="title">			
			<skin:buildlink objectID="#stObj.objectID#" linktext="#stObj.title#" />
		</h2>
		<p class="meta">written by #application.config.farcryblog.authorName# on #dateformat(stObj.publishDate, "dddd, d mmmm, yyyy")# @ #timeformat(stObj.publishDate, "hh:mm TT")#</p>

		<div class="body">
			#stObj.body#
</cfoutput>	

			<cfif isBoolean(stobj.bShowMediaInline) AND stObj.bShowMediaInline>	
				<!--- Display Inline Media --->
				<skin:view typename="farBlogPost" objectID="#stObj.objectID#" webskin="displayListMedia" />
			</cfif>


			<!--- Related Blog Posts --->
			<skin:view typename="farBlogPost" objectID="#stObj.objectID#" webskin="displayListRelatedPosts" />

<cfoutput>
		</div>
		<div class="footer">
			<h4 class="meta">author: </h4>
			<p>#application.config.farcryblog.authorName#</p>
		
			<h4 class="meta">share: </h4>
			<p><skin:buildlink objectid="#stobj.objectid#" linktext="permalink" /></p>
			
			<h4 class="meta">#getTotalComments(stobj.objectid)# comments</h4>
			<p>&nbsp;</p>
			
			<h4 class="meta">posted in: </h4>
			<p></cfoutput><skin:view typename="#stobj.typename#" objectid="#stobj.objectid#" webskin="displayListCategories" /><cfoutput></p>
			
			<!--- <h4 class="meta">bookmarks: </h4>
			<p></cfoutput><skin:view typename="#stobj.typename#" objectid="#stobj.objectid#" webskin="displayListBookmarks" /><cfoutput></p> --->
		</div>	
</cfoutput>
		
		<!--- Comments --->
		<skin:view objectID="#stObj.objectID#" typename="farBlogPost" webskin="displayListComments" />
	
		<!--- Post Comments --->
		<skin:view objectID="#stObj.objectID#" typename="farBlogPost" webskin="displayFormComment" />

<cfoutput>
	</div>
</cfoutput>

<cfsetting enablecfoutputonly="false" />